﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectEF6
{
    class ContractFormula
    {
        public int Id { get; set; }
        public String Description { get; set; }
        public int MaxUsageHoursPerPeriod { get; set; }
        public int PeriodInMonths { get; set; }
        public int NoticePeriodInMonths { get; set; }
        public String Price { get; set; }

        public ContractFormula(int id, String description, int maxhours, int periodinmonths, int noticeperiodinmonths, String price)
        {
            this.Id = id;
            this.Description = description;
            this.MaxUsageHoursPerPeriod = maxhours;
            this.PeriodInMonths = periodinmonths;
            this.NoticePeriodInMonths = noticeperiodinmonths;
            this.Price = price;
            
        }

        public ContractFormula()
        {
        }

        public override string ToString()
        {
            return Description;
        }

    }
}
